import Vue from 'vue'
import Vuex from 'vuex'
import P from 'vuex-persist'
const p = new P({
  storage: window.sessionStorage,
})
Vue.use(Vuex)
export default new Vuex.Store({
  plugins: [p.plugin],
  strict: true,
  state: {
    is: 'Home',
  },
  mutations: {
    SET_IS(state, name) {
      state.is = name
    },
  },
})
